<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title></title>
    <link href="/fight/styles/base.css" rel="stylesheet" type="text/css">
    <link href="/fight/styles/flight/flight.css" rel="stylesheet" type="text/css">
    <link href="/fight/styles/flight/css+hotel+datepicker-range^a1w^1552035728.css" rel="stylesheet" type="text/css">
    <link href="/fight/styles/flight/mfw-footer.css" rel="stylesheet" type="text/css">
    <link href="/fight/styles/flight/mfw-toolbar.css" rel="stylesheet" type="text/css">
    <link href="/fight/styles/flight/ticket.css" rel="stylesheet" type="text/css">
    <style>
        body {
            background-color: #F0F0F0;
        }
    </style>

    <script type="text/javascript" src="/fight/js/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="/fight/js/plugins/My97DatePicker/WdatePicker.js"></script>
    <script type="text/javascript" src="/fight/js/plugins/jquery-form/jquery.form.js"></script>
    <script type="text/javascript" src="/fight/js/plugins/jqPaginator/jq-paginator.min.js"></script>
    <script type="text/javascript" src="/fight/js/system/index.js"></script>
    <script type="text/javascript" src="/fight/js/plugins/jrender/jrender.min.js"></script>
    <script type="text/javascript" src="/js/plugins/jquery-validation/jquery.validate.min.js"></script>
    <script type="text/javascript" src="/js/system/common.js"></script>
</head>
<script>
    $(function () {
        //表单验证
        // $("#ticketForm").validate({
        //     rules:{
        //         touristName:{
        //             required:true
        //         },
        //         contactsName: {
        //             required:true
        //         },
        //         contactsPhone: {
        //             required:true,
        //             number:true,
        //             minlength:11
        //         },
        //         contactsEmail:{
        //             required:true,
        //             email:true
        //         }
        //     },
        //     messages:{
        //         touristName:{
        //             required:"必须填写乘机人姓名"
        //         },
        //         contactsName: {
        //             required:"必须填写联系人姓名"
        //         },
        //         contactsPhone: {
        //             required:"年龄必填",
        //             number:"请输入正确的数字",
        //             minlength:"请输入正确的手机号"
        //         },
        //         contactsEmail:{
        //             required:"必须填写联系人邮箱",
        //             email:"格式不对"
        //         }
        //     }
        // })
        //初始金额
        var price_num = $(".total-num").html();

        $("#accident").click(function () {
            var num = $(".total-num").html()
            if ($("#accident").prop("checked")) {
                $("#accidentDiv").css('display', 'block');
                $(".total-num").html(parseInt(num) + (parseInt(30) * $('.cloneLi').size()));
                price_num = parseInt(price_num) + 30;
                console.log(price_num);
            }else{
                $("#accidentDiv").css('display', 'none');
                $(".total-num").html(parseInt(num) - (parseInt(30) * $('.cloneLi').size()));
                price_num = parseInt(price_num) - 30;
                console.log(price_num);
            }
        })
        $("#delay").click(function () {
            var num = $(".total-num").html()
            if ($("#delay").prop("checked")) {
                $("#delayDiv").css('display', 'block');
                $(".total-num").html(parseInt(num) + (parseInt(30) * $('.cloneLi').size()));
                price_num = parseInt(price_num) + 30;
                console.log(price_num);
            }else{
                $("#delayDiv").css('display', 'none');
                $(".total-num").html(parseInt(num) - (parseInt(30) * $('.cloneLi').size()));
                price_num = parseInt(price_num) - 30;
                console.log(price_num);
            }
        })
        $("#needReimbursement").click(function () {
            var num = $(".total-num").html()
            if ($("#needReimbursement").prop("checked")) {
                $("#needReimbursementDiv").css('display', 'block');
                $(".total-num").html(parseInt(num) + parseInt(20));
            }else{
                $("#needReimbursementDiv").css('display', 'none');
                $(".total-num").html(parseInt(num) - parseInt(20));
            }
        })

        $("#submitBtn").click(function () {
            popup("订票成功!")
            setTimeout(function () {
                window.location.href = 'http://localhost:8888/flight'
            }, 1500);
        })

        //航空意外险显示
        $("#accident_span").click(function () {
            $("#accident_list").css('display','block');
        })
        $("#accident_list").mouseleave(function () {
            $("#accident_list").css('display','none');
        })

        //航空延误险显示
        $("#delay_span").click(function () {
            $("#delay_list").css('display','block');
        })
        $("#delay_list").mouseleave(function () {
            $("#delay_list").css('display','none');
        })

        //优惠套餐显示
        $("#discount_meal_span").click(function () {
            $("#discount_meal_list").css('display','block');
        })
        $("#discount_meal_list").mouseleave(function () {
            $("#discount_meal_list").css('display','none');
        })

        //报销凭证信息显示
        $("#needReimbursement").click(function () {
            //凭证信息表单显示
            if ($("#needReimbursement").prop("checked")){
                $("#reim_form").css('display','block');
                $("#reim_list").css('display','block');
                $("#ticketForm").validate({
                    rules:{
                        invoiceName:{
                            required:true
                        },
                        invoiceMailName:{
                            required:true
                        },
                        invoiceAddress: {
                            required:true
                        }
                    },
                    messages:{
                        invoiceName:{
                            required:"发票抬头姓名必填"
                        },
                        invoiceMailName:{
                            required:"确认收件人必填"
                        },
                        invoiceAddress: {
                            required:"收件地址必填"
                        }
                    }
                })

            }else {
                $("#reim_form").css('display','none');
                $("#reim_list").css('display','none');
            }
        });
        //添加联系人
        var num = 1;
        $(".add").click(function () {
            num++;
            //$(".order").html(num);

            //var newItem = "<li class='item'><span class='order'>"+num+"</span><div class='wrap none'><div class='people-inputbox'><input type='text' id='touristName' name='touristName' placeholder='请输入乘机人姓名' class='input' style='width: 452px;'><span class='type-name'>成人票</span><div class='info'><i class='note'></i><div class='desc'><i class='corner'></i><p>1. 请您严格按照所持有效证件上的姓名填写。<br></p><p>2. 如您的姓名中含有生僻字或繁体字，请用拼音代替生僻字（如：陶喆喆，请填写‘陶zhezhe’），拼音之后不可再输入汉字，需用拼音代替。<br></p><p>3. 姓名中如含有特殊符号“·”“-”“.”等，可不用输入。<br></p><p>4. 姓名过长时请使用缩写（中文名不超过12个汉字；拼音名不超过26个字符）。<br></p></div></div></div></div><div class='wrap'><div class='typebox'><select name='idType' class='type'><option value='1'>身份证</option><option value='2'>护照</option><option value='3'>军官证</option><option value='4'>士兵证</option><option value='5'>台胞证</option><option value='6'>其他</option><option value='7'>回乡证</option><option value='8'>港澳台居住证</option></select></div><div class='inputbox'><input type='text' name='idTypeNum' placeholder='请填写证件号码' class='input' style='width: 328px;height:36px;'></div><span class='del-psger'>删除</span></div></li>";
            var ultag = $(this).parent().prev();
            var newItem = $(ultag).children().last().clone(true);
            //console.log(ultag);
            //console.log(newItem);
            newItem.children('p:first').html($(".cloneLi").size() + 1);
            newItem.addClass("cloneLi"+ $(".cloneLi").size());
            $(ultag).append(newItem);
            $(".price-person").html(' x '+$('.cloneLi').size()+'');
            var status = ${status!-1};
            if(status != -1){
                //alert($(".cloneLi").size());
                //alert(30*($(".cloneLi").size()-1));
                console.log((parseInt($(".total-num").html()) + parseInt(price_num)));
                $(".total-num").html((parseInt($(".total-num").html()) + parseInt(price_num)) - 30);
            }else{
                //点击添加乘机人时应付总额的增加回显
                $(".total-num").html(parseInt($(".total-num").html()) + parseInt(price_num));

            }


            $(".total-price").html();
        })


       $(".del-parent").on("click","span",function () {
           var a = 1;
            if($(".cloneLi").size() != 1){
                var status = ${status!-1};
                if(status != -1 ){
                    $(this).parent().parent().remove();

                    $(".cloneLi").each(function (index, ele) {
                        $(ele).children('p:first').html(a++);
                    })
                    $(".price-person").html(' x '+$('.cloneLi').size()+'');
                    $(".total-num").html($(".total-num").html() - price_num + 30);
                }else {
                    $(this).parent().parent().remove();

                    $(".cloneLi").each(function (index, ele) {
                        $(ele).children('p:first').html(a++);
                    })
                    $(".price-person").html(' x '+$('.cloneLi').size()+'');
                    $(".total-num").html($(".total-num").html() - price_num);
                }
            }else {
                var liItem = $(this).parent().parent();
                $(".pasger-add-mes input").val('');
                $(".pasger-add-mes select").val(1);

            }
           console.log(price_num);

       })






    })

</script>
<body>
<#assign currentNav="flight">
<#include "../common/navbar.ftl">

<div id="app">
    <div class="v-flightpc-container v-book clearfix">
        <div class="fl main">
            <form id="ticketForm" action="#" method="post">
                <#--/flight/ticketSubmit-->
                <div class="cont">
                    <div class="sec-title"><h3 class="text">乘机人</h3></div>
                <#--<div class="psger-list clearfix"><!--&ndash;&gt;</div>-->
                    <div class="psger-add pasger-add-mes">
                        <ul class="list">
                            <li class="item cloneLi"><p class="order">1</p>
                                <div class="wrap none">
                                    <div class="people-inputbox">
                                        <input type="text" id="touristName" name="touristName" placeholder="请输入乘机人姓名" class="input" style="width: 452px;"><span class="type-name">成人票</span>
                                        <div class="info"><i class="note"></i>
                                            <div class="desc"><i class="corner"></i>
                                                <p>1. 请您严格按照所持有效证件上的姓名填写。<br></p>
                                                <p>2. 如您的姓名中含有生僻字或繁体字，请用拼音代替生僻字（如：陶喆喆，请填写‘陶zhezhe’），拼音之后不可再输入汉字，需用拼音代替。<br>
                                                </p>
                                                <p>3. 姓名中如含有特殊符号“·”“-”“.”等，可不用输入。<br></p>
                                                <p>4. 姓名过长时请使用缩写（中文名不超过12个汉字；拼音名不超过26个字符）。<br></p></div>
                                        </div>
                                    </div>
                                </div>
                                <div class="wrap del-parent">
                                    <div class="typebox"><#--<input type="text" readonly="readonly" class="type"><i
                                            class="arrow"></i>-->
                                        <select name="idType" class="type">
                                            <option value="1">身份证</option>
                                            <option value="2">护照</option>
                                            <option value="3">军官证</option>
                                            <option value="4">士兵证</option>
                                            <option value="5">台胞证</option>
                                            <option value="6">其他</option>
                                            <option value="7">回乡证</option>
                                            <option value="8">港澳台居住证</option>
                                        </select>
                                    </div>
                                    <div class="inputbox">
                                        <input type="text" name="idTypeNum" placeholder="请填写证件号码" class="input" style="width: 328px;height:36px;">
                                    </div>
                                    <span class="del-psger">删除</span>
                                </div>
                            </li>
                        </ul>
                    <span class="btnbox"><i class="plus">+</i>
                        <span class="add">添加乘机人</span>
                    </span>
                    </div>
                </div>
                <div class="cont">
                    <div class="sec-title"><h3 class="text">保险</h3></div>
                    <div class="common-list">
                        <div class="item clearfix none"><#--<i class="radio"></i>-->
                            <input type="checkbox" class="radio" id="accident" name="accident"> <span class="name" id="accident_span">航空意外险</span>
                            <div class="info" ><i class="note"></i>
                                <div class="desc" id="accident_list" ><i class="corner"></i>
                                    <div class="list"><p>航空意外险</p>
                                        <div><p class="title">1. 产品名称：中银-马蜂窝航空意外保险：</p>
                                            <p class="title">2. 保障项目及保障金额：</p>
                                            <p class="text">意外身故、残疾 3,200,000 元</p>
                                            <p class="title">3. 承保公司：中银保险有限公司</p>
                                            <p class="text">全国统一客服专线：95566</p>
                                            <p class="title">4. 被保人年龄范围：90天-85周岁。</p>
                                            <p class="title">5. 特别约定：</p>
                                            <p class="text">71至85岁的被保险人，其“身故、残疾保障”的保险金额为保单所承载金额的一半；<br>未成年人（未满18周岁为未成年人）的保险责任与成年人保险责任一致，未成年人身故保额不超过最新监管要求；
                                            </p>
                                            <p class="title">6. 退改政策：保险生效后不允许退保，保单生效前可以退保。</p>
                                            <p class="title">7. 理赔流程：</p>
                                            <p class="text">出险后拨打中银保险有限公司全国统一客服专线95566 报案。<br>紧急救援电话：24小时援助服务电话：+86-28-66779670。
                                            </p>
                                            <p class="title">8. 保单查询说明：</p>
                                            <p class="text">请登陆中银保险官方网站 https://e.bocins.com 查询保单、条款信息。</p>
                                            <p class="title">9. 保险条款：</p>
                                            <p class="text">具体保险责任及其他未尽事宜请以保险条款为准,详情可咨询95566。<br>(中银保险)(备-普通意外保险)【2017】(主)
                                                001号-航空旅客人身意外伤害保险（A款）条款</p>
                                            <p class="title">10. 销售主体：华泰保险经纪有限公司</p>
                                            <p class="text">请登陆中银保险官方网站 https://e.bocins.com 查询保单、条款信息。</p>
                                            <p class="title">11. 客户告知书：</p>
                                            <p class="text"><a
                                                    href="https://bigfile.mafengwo.net/s11/M00/44/29/wKgBEFtVusiAK2uUAAG1Hrl2rq0325.pdf"
                                                    target="_blank">点击查看</a></p>
                                            <p class="title">12. 授权委托书：</p>
                                            <p class="text"><a
                                                    href="https://bigfile.mafengwo.net/s11/M00/44/52/wKgBEFtVuv2AYS46AAEogcJ8eIA343.pdf"
                                                    target="_blank">点击查看</a></p>
                                            <p class="title">13. 保险条款总则：</p>
                                            <p class="text"><a
                                                    href="https://bigfile1.mafengwo.net/s12/M00/D9/B5/wKgED1v9-4mAb82jAAQrpAY1bsU502.pdf"
                                                    target="_blank">点击查看</a></p>
                                            <p class="title">14. 声明：</p>
                                            <p class="text">马蜂窝所有保险均有依法设立的保险公司提供，马蜂窝仅提供平台展示，而非保险公司的代理人，本站所载保险
                                                中银保险、阳光保险及中国人民保险产品均由华泰保险经纪有限公司负责安排承保、理赔、退保、投诉及客户服务，本站只提供网络技术辅助服务</p>
                                            <p class="title">15. 相关资质：</p>
                                            <p class="text"><a
                                                    href="https://bigfile.mafengwo.net/s12/M00/82/C5/wKgED1wR9CmAAq4UAA9I5qIs45Q681.pdf"
                                                    target="_blank">点击查看</a></p></div>
                                    </div>
                                </div>
                            </div>
                            <span class="count">¥30/份<span class="price-person"> x 1</span>人 x 1航段</span>
                            <span class="label">旅行意外保障</span>
                            <span class="label">最高赔付320万</span>
                        </div>
                        <div class="item clearfix"><#--<i class="radio"></i>-->
                            <input type="checkbox" class="radio" name="delay" id="delay">
                            <span class="name" id="delay_span">航空延误险</span>
                            <div class="info"><i class="note"></i>
                                <div class="desc" id="delay_list"><i class="corner"></i>
                                    <div class="list"><p>航空延误险</p>
                                        <div><p class="title">1. 保障项目及保障金额：</p>
                                            <p class="text">航班到达延误3小时及以上300元；<br>航班备降、返航300元；<br>航班被取消100元；<br>延误、返航、备降、取消不可以兼赔
                                            </p>
                                            <p class="title">2. 险种信息：</p>
                                            <p class="text">保险公司：阳光财产保险股份有限公司<br>全国统一客服专线： 95510，该产品由华泰保险经纪有限公司进行销售</p>
                                            <p class="title">3. 被保人年龄范围：</p>
                                            <p class="text">0-85周岁（0岁指出生满90天并健康出院），同一被保险人同一航段只能购买一份<br>不保人群：<br>不保人群无特殊约定。
                                            </p>
                                            <p class="title">4. 退改政策：</p>
                                            <p class="text">用户在飞机场改签后，请及时在马蜂窝客服中心报备。如没有及时通知，保险还是原航班生效，一旦出险，后果自行承担；<br>保险生效后不允许退保，保单生效前可以退保，但不允许单独退保，用户在飞机场退票后，请及时在马蜂窝客服中心联系客服退保；<br>理赔流程：<br>出险后拨打阳光财险全国统一客服专线95510报案。
                                            </p>
                                            <p class="title">5. 保单查询说明：</p>
                                            <p class="text"><a
                                                    href="http://wecare.sinosig.com/common/new_customerservice/html/baodanfuwu/dzbd_index.html">点击查看</a>
                                            </p>
                                            <p class="title">6. 客户告知书：</p>
                                            <p class="text"><a
                                                    href="https://bigfile1.mafengwo.net/s11/M00/16/C3/wKgBEFqnoHCAJQW1AAIFfL8WnVo811.pdf"
                                                    target="_blank">点击查看</a></p>
                                            <p class="title">7. 授权委托书：</p>
                                            <p class="text"><a
                                                    href="https://bigfile.mafengwo.net/s11/M00/17/02/wKgBEFqnoKyAQVMbAAEdDZbLbFI683.pdf"
                                                    target="_blank">点击查看</a></p>
                                            <p class="title">8. 保险条款：</p>
                                            <p class="text">具体保险责任及其它未尽事宜请以保险条款为准</p>
                                            <p class="title">9. 声明：</p>
                                            <p class="text">马蜂窝所有保险均由依法设立的保险公司提供，马蜂窝仅提供平台展示，而非保险公司的代理人，本站所载保险
                                                阳光保险及中国人民保险产品均由华泰保险经纪有限公司负责承保、理赔、退保、投诉及客户服务，本站只提供网络技术辅助服务。</p>
                                            <p class="title">10. 相关资质：</p>
                                            <p class="text"><a
                                                    href="https://bigfile.mafengwo.net/s12/M00/82/C5/wKgED1wR9CmAAq4UAA9I5qIs45Q681.pdf"
                                                    target="_blank">点击查看</a></p></div>
                                    </div>
                                </div>
                            </div>
                            <span class="count">¥30/份<span class="price-person"> x 1</span>人 x 1航段</span><span class="label">旅行无忧</span><span
                                    class="label">延误可理赔</span></div>
                    </div>
                </div>
                <div class="cont">
                    <div class="sec-title"><h3 class="text">联系人</h3></div>
                    <div class="psger-add">
                        <ul class="list">
                            <li class="item none">
                                <div class="wrap none">
                                    <div class="inputbox">
                                        <input type="text" name="contactsName" placeholder="请填写联系人姓名" class="input buyer-name">
                                    </div>
                                </div>
                                <div class="wrap">
                                    <div class="typebox">
                                        <select name="phonePrefix" class="type">
                                            <option value="1">中国大陆 +86</option>
                                            <option value="2">中国香港 +852</option>
                                            <option value="3">中国澳门 +853</option>
                                            <option value="4">中国台湾 +886</option>
                                            <option value="5">泰国 +66</option>
                                            <option value="6">日本 +81</option>
                                            <option value="7">马来西亚 +60</option>
                                        </select>
                                    </div>
                                    <div class="inputbox">
                                        <input type="text" name="contactsPhone" placeholder="请填写联系人手机号" class="input buyer-phone">
                                        <!---->
                                    </div>
                                </div>
                                <div class="wrap">
                                    <div class="inputbox">
                                        <input type="text" name="contactsEmail" placeholder="请填写联系人邮箱" class="input buyer-email">
                                    </div>
                                </div>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="cont">
                    <div class="sec-title"><h3 class="text">报销凭证</h3></div>
                    <div class="common-list">
                        <div class="item clearfix none"><#--<i class="radio"></i>-->
                            <input type="checkbox" id="needReimbursement" class="radio" name="needReimbursement">
                            <span class="name" id="reim_span">需要报销凭证</span><span
                                    class="label">(航班起飞后28天内可补开纸质行程单)</span></div>
                        <span class="flg-book-alert" style="display: none" id="reim_list">航班起飞后7天内，将向您邮寄报销凭证</span></div>
                    <div class="form" id="reim_form" style="display: none;">
                        <div class="form-row clearfix none">
                            <span class="form-left">报销类型</span>
                            <span class="form-right">纸质行程单</span>
                        </div>
                        <div class="form-row clearfix none">
                            <span class="form-left">配送方式</span>
                            <span class="form-right">快递<span class="form-money">¥20</span>
                        </span>
                        </div>
                        <div class="form-row clearfix none">
                            <span class="form-left">发票类型</span>
                            <div class="form-right">
                                <div class="title-type active">
                                    <input type="radio" name="invoiceType" value="1">
                                    <span class="title-name">个人</span>
                                </div>
                                <div class="title-type">
                                    <input type="radio" name="invoiceType" value="2">
                                    <span class="title-name">公司</span>
                                </div>
                                <div class="title-type">
                                    <input type="radio" name="invoiceType" value="3">
                                    <span class="title-name">政企单位</span>
                                </div>
                            </div>
                        </div>
                        <div class="form-row clearfix none">
                            <span class="form-left" >发票抬头</span>
                            <div class="form-right none">
                                <input type="text" name="invoiceName" placeholder="请填写真实姓名" class="form-input">
                            </div>
                            <!----></div><!---->
                        <div class="form-row clearfix">
                            <span class="form-left">收件人</span>
                            <div class="form-right none">
                                <input type="text" name="invoiceMailName" placeholder="请填写真实姓名" class="form-input">
                            </div>
                        </div>
                        <div class="form-row clearfix">
                            <span class="form-left">地址</span>
                            <div class="form-right none">
                                <input type="text" name="invoiceAddress" placeholder="请填写中国境内地址信息" class="form-input">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="cont">
                    <div class="sec-title"><h3 class="text">优惠券</h3></div>
                    <div class="common-list">
                        <div class="item clearfix none"><i class="radio"></i>
                        <#--<input type="checkbox" class="radio" id="">-->
                            <span class="name">暂无可用优惠券</span></div>
                    </div><!----></div>
                <input type="hidden" name="fid" value="${flightScheduled.id!}">
                <input type="hidden" name="planType" value="${type}">
                <input  id="submitBtn" type="button" class="submit" value="提交订单">
            </form>
        </div>
        <div class="fr aside">
            <div class="trips">
                <div class="trip-item none">
                    <div class="trip-title none"><!---->
                        <span class="trip-name">${flightScheduled.org_city.name!} - ${flightScheduled.dst_city.name!}</span>
                        <span class="trip-date">${flightScheduled.dep_date_time?string('MM')}月${flightScheduled.dep_date_time?string('dd')}日 周${flightScheduled.week}</span>
                    </div>
                    <div class="trip-detail">
                        <div class="trip-left"><p class="trip-time">${flightScheduled.dep_date_time?string('HH:mm')}</p>
                            <p class="trip-airport">${flightScheduled.org_airport_name} ${flightScheduled.org_airport_terminal}</p>
                        </div>
                        <div class="trip-mid">
                            <p class="trip-hour">${flightScheduled.fly_time!}</p>
                            <span class="trip-line">
                                <i class="trip-arrow"></i></span>
                            <p class="trip-info">${flightScheduled.airline_name!} ${flightScheduled.flight_no!}
                                <span>| <#if type==1 || type==2||type==3>经济舱<#else>商务舱</#if> </span>
                            </p><!---->
                        </div>
                        <div class="trip-right">
                            <p class="trip-time">${flightScheduled.arr_date_time?string('HH:mm')}</p>
                            <p class="trip-airport">${flightScheduled.dst_airport_name} ${flightScheduled.dst_airport_terminal}</p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="prices">
                <div class="price-item">
                    <#if type==1 ||type==3>
                    <div class="price-wrap clearfix"><span class="price-type">机票 成人</span><span class="price-info"><span
                            class="price-num">${flightScheduled.price!}</span><span class="price-person"> x 1</span></span>
                    </div>
                    </#if>
                    <#if type==2>
                    <div class="price-wrap clearfix"><span class="price-type">机票 成人</span><span class="price-info"><span
                            class="price-num">${((flightScheduled.price!)*0.95)?int}</span><span class="price-person"> x 1</span></span>
                    </div>
                    </#if>
                    <#if type==4>
                    <div class="price-wrap clearfix"><span class="price-type">机票 成人</span><span class="price-info"><span
                            class="price-num">${flightScheduled.businessVotePrice!}</span><span class="price-person"> x 1</span></span>
                    </div>
                    </#if>

                    <div class="price-wrap clearfix"><span class="price-type">机建燃油 成人</span><span
                            class="price-info"><span
                            class="price-num">${flightScheduled.airportTaxAudlet!}</span><span class="price-person"> x 1</span></span>
                    </div>

                    <div id="delayDiv" class="price-wrap clearfix" style="display: none"><span class="price-type">航空意外险</span><span
                            class="price-info"><span
                            class="price-num">30</span><span class="price-person"> x 1</span></span>
                    </div>
                    <div id="accidentDiv" class="price-wrap clearfix" style="display: none"><span class="price-type">航空延误险</span><span
                            class="price-info"><span
                            class="price-num">30</span><span class="price-person"> x 1</span></span>
                    </div>
                    <div id="needReimbursementDiv" class="price-wrap clearfix" style="display: none"><span class="price-type">报销凭证</span><span
                            class="price-info"><span
                            class="price-num">20</span> x 1</span>
                    </div>
                </div><!----><!----><!---->
                <#if type==1>
                <div class="price-item">
                    <div class="price-wrap active clearfix">
                        <span class="price-type" id="discount_meal_span" style="color: rgb(179, 112, 18);">优享套餐</span>
                        <span class="price-info"><span class="price-num">¥30</span></span>
                    </div>
                </div>
                </#if>
            </div>
            <div class="total-price"><span class="total-title">应付总额</span>
                <#if type==1>
                <span class="total-num">${(flightScheduled.price!) + (flightScheduled.airportTaxAudlet!) + 30}</span>
                </#if>
                <#if type==3>
                <span class="total-num">${(flightScheduled.price!) + (flightScheduled.airportTaxAudlet!)}</span>
                </#if>
                <#if type==2>
                <span class="total-num">${((flightScheduled.price!)*0.95)?int + (flightScheduled.airportTaxAudlet!)}</span>
                </#if>
                <#if type==4>
                <span class="total-num">${(flightScheduled.businessVotePrice!)+(flightScheduled.airportTaxAudlet!)}</span>
                </#if>
                <span class="total-type">¥</span></div>
            <div class="tgq">退改签行李额规则及供应商信息</div>
        </div><!---->
        <div class="v-dialog" style="display: none;">
            <div class="v-mask-loading">
                <div class="v-mask-loading-icon"></div>
            </div>
        </div><!----></div>
</div>
<#include "../common/footer.ftl">

</body>

</html>